<?php

namespace App\Providers;

use App\Services\AjaxResponse;
use Illuminate\Support\ServiceProvider;

/**
 * AJAX响应服务提供者
 *
 * Class AjaxResponseServiceProvider
 * @package App\Providers
 */
class AjaxResponseServiceProvider extends ServiceProvider
{
    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        $this->app->singleton('AjaxResponse', function (){
			return new AjaxResponse();
		});
    }
}
